﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    public class AddressInfo : RecordInfo
    {
        private int address_seq;
        private string address;        
        private string postal_code;
        private string phone_no;
        private string fax_no;
        private string mobile_no;
        private string email;
        private MasDistrictInfo district_seq;
        private MasProvinceInfo province_seq;
        private MasAmphurInfo amp_seq;
        private MasCountryInfo country_seq;
        private MasCityInfo city_seq;
        private EmployeeInfo emp_seq;
        private int address_type;

        public AddressInfo()
        { 
        }
        
        public AddressInfo(string Address, string PostalCode, string Phone, string Fax, string Mobile, string Email)
        {
            this.Address = Address;
            this.PostalCode = PostalCode;
            this.Phone = Phone;
            this.Fax = Fax;
            this.Mobile = Mobile;
            this.Email = Email;
        }
        public int Sequence
        {
            get { return address_seq; }
            set { address_seq = value; }
        }
        
        public string Address
        {
            get { return address; }
            set { address = value; }
        }
        
        public string PostalCode
        {
            get { return postal_code; }
            set { postal_code = value; }
        }
        public string Phone
        {
            get { return phone_no; }
            set { phone_no = value; }
        }
        public string Fax
        {
            get { return fax_no; }
            set { fax_no = value; }
        }
        public string Mobile
        {
            get { return mobile_no; }
            set { mobile_no = value; }
        }
        
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        public int AddressType
        {
            get { return address_type; }
            set { address_type = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public MasDistrictInfo District
        {
            get { return district_seq; }
            set { district_seq = value; }
        }
        public MasAmphurInfo Amphur
        {
            get { return amp_seq; }
            set { amp_seq = value; }
        }
        public MasProvinceInfo Province
        {
            get { return province_seq; }
            set { province_seq = value; }
        }
        public MasCountryInfo Country
        {
            get { return country_seq; }
            set { country_seq = value; }
        }
        public MasCityInfo City
        {
            get { return city_seq; }
            set { city_seq = value; }
        }
    }
}
